package com.csis.system.domain;

import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_CUSTOMERID;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_DISCOUNT;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_PICKDATE;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_PICKNO;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_PICKNOTE;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_PRODUCTCOLOR;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_PRODUCTCOUNT;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_PRODUCTID;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_PRODUCTPRICE;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_PRODUCTSIZE;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_TOTAL;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_USERID;
import static com.csis.system.common.IStaticData.COLUMN_PICKLIST_WAREID;
import static com.csis.system.common.IStaticData.TABLE_PICKLIST;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = TABLE_PICKLIST)
public class Picklist {
	@Id
	@Column(name = COLUMN_PICKLIST_PICKNO)
	private java.lang.String id = null;
	@Column(name = COLUMN_PICKLIST_WAREID)
	private java.lang.Integer wareId = null;
	@Column(name = COLUMN_PICKLIST_PICKDATE)
	private java.util.Date pickDate = null;
	@Column(name = COLUMN_PICKLIST_USERID)
	private java.lang.Integer userId = null;
	@Column(name = COLUMN_PICKLIST_CUSTOMERID)
	private java.lang.Integer customerId = null;
	@Column(name = COLUMN_PICKLIST_PRODUCTID)
	private java.lang.Integer productId = null;
	@Column(name = COLUMN_PICKLIST_PRODUCTCOUNT)
	private java.lang.Integer productCount = null;
	@Column(name = COLUMN_PICKLIST_PRODUCTCOLOR)
	private java.lang.String productColor = null;
	@Column(name = COLUMN_PICKLIST_PRODUCTSIZE)
	private java.lang.String productSize = null;
	@Column(name = COLUMN_PICKLIST_PRODUCTPRICE)
	private java.lang.Float productPrice = null;
	@Column(name = COLUMN_PICKLIST_DISCOUNT)
	private java.lang.Float discount = null;
	@Column(name = COLUMN_PICKLIST_TOTAL)
	private java.lang.Float total = null;
	@Column(name = COLUMN_PICKLIST_PICKNOTE)
	private java.lang.String pickNote = null;

	@Transient
	Warehouse warehouse;
	@Transient
	Product product;
	@Transient
	User user;
	@Transient
	Customer customer;

	public java.lang.String getId() {
		return id;
	}

	public void setId(java.lang.String id) {
		this.id = id;
	}

	public java.lang.Integer getWareId() {
		return wareId;
	}

	public void setWareId(java.lang.Integer wareId) {
		this.wareId = wareId;
	}

	public java.util.Date getPickDate() {
		return pickDate;
	}

	public void setPickDate(java.util.Date pickDate) {
		this.pickDate = pickDate;
	}

	public java.lang.Integer getUserId() {
		return userId;
	}

	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public java.lang.Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(java.lang.Integer customerId) {
		this.customerId = customerId;
	}

	public java.lang.Integer getProductId() {
		return productId;
	}

	public void setProductId(java.lang.Integer productId) {
		this.productId = productId;
	}

	public java.lang.Integer getProductCount() {
		return productCount;
	}

	public void setProductCount(java.lang.Integer productCount) {
		this.productCount = productCount;
	}

	public java.lang.String getProductColor() {
		return productColor;
	}

	public void setProductColor(java.lang.String productColor) {
		this.productColor = productColor;
	}

	public java.lang.String getProductSize() {
		return productSize;
	}

	public void setProductSize(java.lang.String productSize) {
		this.productSize = productSize;
	}

	public java.lang.Float getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(java.lang.Float productPrice) {
		this.productPrice = productPrice;
	}

	public java.lang.Float getDiscount() {
		return discount;
	}

	public void setDiscount(java.lang.Float discount) {
		this.discount = discount;
	}

	public java.lang.Float getTotal() {
		return total;
	}

	public void setTotal(java.lang.Float total) {
		this.total = total;
	}

	public java.lang.String getPickNote() {
		return pickNote;
	}

	public void setPickNote(java.lang.String pickNote) {
		this.pickNote = pickNote;
	}

	public Warehouse getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(Warehouse warehouse) {
		this.warehouse = warehouse;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

}
